#ifndef __PXE_CMN_H_
#define __PXE_CMN_H_
#include "type.h"

typedef uint16	segsel_t;
typedef uint16	off16_t;
typedef uint32	addr32_t;

struct segoff16 {
	off16_t	offset;
	segsel_t	segment;
};

struct segdesc_t {
	uint16	LimitLow;
	uint16	BaseLow;
	uint8	BaseMid;
	uint8	Type;
	uint8	LimitHigh;
	uint8	BaseHigh;
};

struct newsegdesc {
	uint16	SegAddr;
	uint32	PhyAddr;
	uint16	SegSize;
};

typedef uint16	port_t;

#endif

